diff
is a utility that allows you to
find the differences between two text files. Unfortunately,
while it is very powerful, many people find it difficult to
interpret the results. Fortunately, a number of "visual"
diff
utilities have been developed over the years.
Some of this tools also allow you to merge the two files together.
Eclipse: Enter "Compare with Other Resource" in the "Quick Access" field
Emacs: M-x ediff-buffers
Vim: gvimdiff file1 file2
Copyright 2019